add_executable(ukui-kwin_wayland_wrapper)
target_sources(ukui-kwin_wayland_wrapper PRIVATE
    kwin_wrapper.cpp
    wl-socket.c
)

ecm_qt_declare_logging_category(ukui-kwin_wayland_wrapper
    HEADER
        wrapper_logging.h
    IDENTIFIER
        KWIN_WRAPPER
    CATEGORY_NAME
        kwin_wayland_wrapper
    DEFAULT_SEVERITY
        Warning
)

target_link_libraries(ukui-kwin_wayland_wrapper Qt::Core Qt::DBus KF5::DBusAddons KF5::CoreAddons KWinXwaylandCommon)
set_property(TARGET ukui-kwin_wayland_wrapper PROPERTY C_STANDARD 11)
install(TARGETS ukui-kwin_wayland_wrapper ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
